﻿using CoreLibrary.Paging;
using CoreLibrary.Repo;
using IBBI.DataBase.Obj;
using IBBI.DataBase.Persistent;

namespace IBBI.DataBase {

    public interface IEquipmentService : IRepository<Equipment> {

        void RemoveEquipment(int equipmentId);
        void UpdateEquipment(UpdateEquipmentRequest request);
        void AddEquipment   (Equipment equipment);

        PagingResult<Equipment> ListEquipments(PagingRequest request);
        PagingResult<Equipment> ListEquipmentsByCategory(int category, PagingRequest request);
        
    }

}